*{
  padding:0;
  margin: 0;
  font-family: 微软雅黑;
  box-sizing: border-box;
}
a{
  color:inherit!important;
  &:hover,
  &:visited{
    text-decoration: none!important;
  }
}
body,html{
  height: 100%;
  position: fixed;
  width:100%;
}
#root{
  height: 100%;
}
.layout-section{
  height: 100%;
}
ul{
  margin:0!important;
  list-style: none;
}
#container{
  display: flex;
  height: 100%;
}
#header{
  padding: 10px 20px;
  font-size: 20px;
  color: white;
  background:rgb(57,141,238);
  #user-name{
    display: inline-block;
    i{
      width: 28px;
      height: 28px;
      margin-right: 10px;
    }
  }
  #reg{
    float: right;
    padding-left:10px;
    border-left:1px solid #fff;
    &:hover{
      cursor: pointer;
      color: gainsboro;
    }
  }
  #login{
    float: right;
    margin-right: 10px;
    &:hover{
      cursor: pointer;
      color: gainsboro;
    }
  }
  #person-center{
    float: right;
    font-size: 16px;
    position: relative;
    width: 150px;
    text-align: center;
    height: 41px;
    top: 1px;
    .ic-person{
      margin-right: 10px;
      width: 33px;
      height: 33px;
    }
    .center-list{
      display: none;
      width: 150px;
      position: absolute;
      top: 40px;
      z-index: 99;
      background: #fff;
      color: #999;
      box-shadow: 0px 1px 16px 0 rgba(90, 109, 122, 0.41);
      li{
        padding: 10px 0;
        border-bottom: 1px solid rgb(238,238,238);
        &:hover{
          color: #76b0f3;
          background: #f4f9ff;
        }
        i{
          width: 18px;
          height: 18px;
          margin-right: 10px;
        }
      }
    
    }
    &:hover{
      cursor: pointer;
      .center-list{
        display: block;
      }
    }
  }
}
#folder{
  width:200px;
  background: rgb(245,245,245);
  height: 95%;
  border-right: 1px solid rgb(238,238,238);
  overflow-y: scroll;
  .ic-folder{
    margin-right: 6px;
    height: 18px!important;
  }
}
#preview{
  width: 300px;
  height: 95%;
}
#edit{
  height: 100%;
}
.ic-reg{
  background-position-y: -51px!important;
}
.ic-login{
  background-position-y: -51px!important;
}
.ic-folder-logo{
  background-position-y: -54px!important;
}
.title{
  font-size: 20px;
  padding: 5px;
}
#folder-list{
  ul{
    li{
      padding: 10px 10px 10px 30px;
      &:hover{
        cursor: pointer;
        background:rgb(57,141,238) ;
        color: #fff;
      }
    }
  }
  .active{
    background:rgb(57,141,238) ;
    color: #fff;
  }
}
#preview{
  border-right: 1px solid rgb(238,238,238);
  overflow-y: scroll;
  .preview-child{
    padding: 10px;
    border-bottom: 1px solid rgb(238,238,238);
    .title{
      font-size: 18px;
      margin-bottom: 10px;
    }
    .summary{
      font-size: 14px;
      margin-bottom: 5px;
      color: rgb(137,137,137);
      height: 60px;
      overflow: hidden;
    }
    .time{
      font-size: 14px;
      color: rgb(137,137,137);
    }
    &:hover{
      cursor: pointer;
      background: rgb(246,247,249);
    }
    .file-logo{
      font-size: 70px;
      padding: 0 0 0 5px!important;
      color: #5bc0de;
    }
    .file-detail{
      padding: 20px 0 0 10px;
      height: 90px;
      .title{
        margin-bottom: 0px;
        padding: 0px;
      }
      .down-btn{
        color: #fff!important;
        background: #5BC0D4;
        display: inline-block;
        border-radius: 4px;
        padding: 3px 15px;
        font-size: 14px;
        position: absolute;
        right: 10px;
        bottom: 0;
        &:hover,
        &:active,
        &:focus{
          background: #5BC0A4;
        }
      }
    }
  }
  .active{
    background: rgb(246,247,249);
  }
  .ic-book{
    width: 22px!important;
    height: 22px!important;
    margin-right: 10px;
  }
}
#edit{
  background: rgb(238,238,238);
  overflow-y: scroll;
  #edit-panel{
    margin:80px 40px;
    background: white;
    box-shadow:0 1px 3px rgba(0,0,0,.33) ;
    min-height: 150%;
    a{
      &:hover{
        cursor: pointer;
      }
    }
  }
  img{
    max-width: 100%;
  }
}
#edit-head{
  position: fixed;
  background: white;
  height: 50px;
  padding: 5px;
  right: 50px;
  box-shadow:0 1px 3px rgba(0,0,0,.33) ;
}
.saveContain{
  position: fixed;
  background: white;
  height: 50px;
  padding: 5px;
  right: 969px;
  padding: 0 30px;
  box-shadow:0 1px 3px rgba(0,0,0,.33) ;
  button{
    border: none;
    background: #398dee;
    color: #fff;
    font-size: 18px;
    margin-top: 10px;
    padding: 5px 10px;
  }
}
#folder-operation,
#preview-operation{
  display: none;
  position: fixed;
  box-shadow:0 1px 3px rgba(0,0,0,.33) ;
  background: #fff;
  text-align: center;
  width: 120px;
  z-index: 999;
  li{
    padding: 10px 0;
    border-top: 1px solid #eee;
    &:hover{
      cursor: pointer;
      background: rgb(246,247,249);
    }
  }
}
.backcover{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0.5;
  z-index: 99;
  display: none;
}
.new-container{
  position: fixed;
  background: #fff;
  width: 400px;
  z-index: 100;
  top: 300px;
  left: 50%;
  margin-left: -200px;
  div{
    padding: 10px 50px;
    overflow: hidden;
  }
  .new-title{
    background: #398dee;
    color: #fff;
    font-size: 18px;
    .icon-remove{
      position: absolute;
      right: 10px;
      &:hover{
        cursor: pointer;
      }
    }
  }
  input{
      width: 300px;
      border: 1px solid #d6d6d6;
      border-radius: 5px;
      padding: 6px 10px;
    }
    .new-btn,
    .delete-btn,
    .cancle-btn{
      display: inline-block;
      width: 80px;
      height: 34px;
      line-height: 34px;
      border: 1px solid #398dee;
      box-sizing: border-box;
      border-radius: 3px;
      padding: 0;
      font-size: 14px;
      cursor: pointer;
      outline: none;
    }
    .cancle-btn{
      background-color: #fff;
      color: #398dee;
      margin-right: 100px;
    }
    .new-btn,
    .delete-btn{
      background-color: #398dee;
      color: #fff;
    }
    .new-btn{
      float: right;
    }
}
.error{
  color: red;
  display: none;
}
.hide{
  display: none;
}
.warn{
  color: #f0ad4e;
}
.new-btn{
  width: 80%;
  margin: 20px 10%;
  border: 3px solid #398dee;
  border-radius: 10px;
  text-align: center;
  padding: 20px 0;
  color: #398dee;
  &:hover{
    cursor: pointer;
  }
  .icon-plus{
    font-size: 25px;
  }
}
.btn-group{
  color: #428bca;
}
#upload-file{
  display: none;
}

#upload-preview-queue{
  display: none;
}

